package com.qingneng.service.sdk;

import java.util.List;

import com.qingneng.vo.ProjectInfo;
import com.qingneng.vo.ProjectWorkInfo;

public interface IProjectInfoService {
	/**
	 * 获得所有项目信息
	 * @return
	 * @throws Exception
	 */
	public List getProjectInfo(ProjectInfo projectInfo) throws Exception;

	/**
	 * 获得所有项目总记录
	 */
	public Integer getProjectInfoTotalCount(ProjectInfo projectInfo) throws Exception;
	
	/**
	 * 获得项目下的工程信息
	 */
	public List getProjectWorkInfo(int project_id) throws Exception;
	/**
	 * 增加项目信息
	 * @param bean
	 * @throws Exception
	 */
	public int addProjectInfo(ProjectInfo bean) throws Exception;
	
	/**
	 * 删除项目信息 
	 * @param bean
	 * @throws Exception
	 */
	public void destroyProjectInfo(ProjectInfo bean) throws Exception;
	
	/**
	 * 修改项目信息 
	 * @param bean
	 * @throws Exception
	 */
	public void modifyProjectInfo(ProjectInfo bean) throws Exception;
	
	
	/**
	 * 增加项目子工程信息
	 * @param bean
	 * @throws Exception
	 */
	public void addProjectWorkChildInfo(ProjectWorkInfo bean) throws Exception;
	/**
	 * 更新项目子工程信息
	 * @param bean
	 * @throws Exception
	 */
	public void modifyProjectWorkChildInfo(ProjectWorkInfo bean) throws Exception;
	/**
	 * 删除项目子工程信息
	 * @param bean
	 * @throws Exception
	 */
	public void destroyProjectWorkChildInfo(ProjectWorkInfo bean) throws Exception;
	

}
